Use to create a SUB procedure. Enter a name for the procedure in the New SUB dialog box. QBasic inserts SUB and END SUB statements for the procedure and displays it in the View window. If you want to view or edit other parts of the program, use the SUBs command from the View menu (or press F2). Tip: You can also create a SUB procedure by using the QBasic keyword SUB.